﻿using PLCS.Application.Contracts.PLCConfigApp.Dtos;
using PLCS.Application.Contracts.PLCReadDataApp.Dtos;

namespace PLCS.Application.Contracts.PLCConfigApp;

public interface IPLCConfigAppService : ICrudAppService<PLCConfigDto, Guid, PagedResultRequestDto, PLCConfigEditDto>
{
    Task<IEnumerable<PLCConfigDto>> GetPlcConfigListAsync();

    Task<PLCConfigDto> GetByPLCNoAsync(string pLCNo);

    Task UpdateAsync(PLCConfigEditDto input);

    Task<PagedResultDto<PLCConfigDto>> GetListBySearchAsync(PagedResultRequestDto input, string? plcNo, string? ipAddress);
}